<!--header-->

<!--FlashBg-->
<div class="Banner" style="background:url(images/newsbg.jpg) repeat-x;">
	<div class="FlashLine NewsFlashLine"><a href="#"><img src="<?php echo base_url('/theme/front/images/newsbanner1.png');?>" width="1035" height="150" /></a></div>
</div>
<?php 
$sorce='来源：'.$news_data['article_source'];
$writer='作者：'.$news_data['author'];
$date='时间：'.date("Y-m-d",$news_data['created']);
?>
<!--wrapper-->
<div class="Wrapper Width">
	<div class="WrapperLeft News">
      <div class="NewszxTtitle"><?php echo $news_data['title'];?></div><!--新闻标题-->
	  <div class="Newsly">
	  <?php echo $sorce;?>&nbsp;  
	  <?php echo $writer;?>&nbsp;
	  <?php echo $date;?>
	  </div>
      <div class="NewsMainCt"> <!--新闻内容-->
	  <?php echo $news_data['content'];?>
      </div>
      <div class="InfoNext l" >上篇：
	  <?php foreach($pre as $p){ ?>
	  <a href="<?php echo base_url($this->_site_path.'/news/get_content/'.$p['parentid'].'/'.$p['id']);?>">
	  <?php if(empty($p['title'])){
				echo "没有了！";
			}
			else {
				if(strlen($p['title'])>60){echo mb_substr($p['title'],0,16).'...';}
				else{echo $p['title'];}
			} 
		?>	
	  </a>
	  <?php } ?>
	  </div>
      <div class="InfoNext r" >下篇：
	  <?php foreach($next as $n){ ?>
	  <a href="<?php echo base_url($this->_site_path.'/news/get_content/'.$n['parentid'].'/'.$n['id']);?>">
	  <?php if(empty($n['title'])){
				echo "没有了！";
			}
			else {
				if(strlen($n['title'])>60){echo mb_substr($n['title'],0,16).'...';}
				else{echo $n['title'];}
			} 
		?>		
	  </a>
	  <?php } ?>
	  </div>
    </div>
    
   <!-- WrapperRight-->
    <div class="WrapperRight">
    	<h1>推荐阅读</h1>
        <ul>
        	
            <?php foreach($recommend_data as $list){ ?>
		
            <li class="RightItemLi">
			<a href="<?php echo base_url($this->_site_path.'/news/get_content/'.$list['parentid'].'/'.$list['id']);?>">
			<?php 
					if(strlen($list['title'])>22){echo mb_substr($list['title'],0,20);}
					else{echo $list['title'];}
			?>	
			</a>
			</li>
         
		<?php } ?>
           
        </ul>
    </div>
</div>

<!--ExpressTools-->
<div class="ExpressTools Width">
    <div class="ToolsPart">
    	<span class="ToolsPartTitle l wa"><span class="l">最新动态</span> <span class="en">/ News</span><a class="r ToolsPartShowMore" href="<?php echo base_url($this->_site_path . '/news/channel_list/5');?>">更多</a></span>
        <div class="ToolsPartContent l wa Z ">
            <ul class="new_Z" url="<?php echo base_url($this->_site_path . '/news/get_lists_article/5');?>">
				  
              </ul>
       </div>
    </div>
    
    <div class="ToolsPart">
    	<span class="ToolsPartTitle l wa"><span class="l">技术支持</span> <span class="en">/ Technology</span><a class="r ToolsPartShowMore" href="<?php echo base_url($this->_site_path . '/news/channel_list/9');?>">更多</a></span>
        <div class="ToolsPartContent l wa Z ">
			<ul class="new_Z" url="<?php echo base_url($this->_site_path . '/news/get_lists_article/9');?>">
				   
              </ul>
       </div>
    </div>
    
    <div class="ToolsPart">
    	<span class="ToolsPartTitle l wa"><span class="l">最新招聘</span> <span class="en">/ Hiring</span><a class="r ToolsPartShowMore" href="<?php echo base_url($this->_site_path . '/news/channel_list/37');?>">更多</a></span>
        <div class="ToolsPartContent l wa Z ">
			<ul class="new_Z" url="<?php echo base_url($this->_site_path . '/news/get_lists_article/37');?>">
				  
              </ul>
       </div>
    </div>
    
</div>

<!--FootBotom-->
<?php $this->load->view_part($this->_site_path.'/common/footer');?>
<script type="text/javascript">
		(function($){
			$(function(){
				$('.new_Z').each(function(){
					//获取新闻列表
					getInfo($(this));
				})
				
			})
		})(jQuery);
</script>
</body>
</html>
